import org.gradle.api.artifacts.dsl.RepositoryHandler
import org.gradle.api.artifacts.repositories.MavenArtifactRepository
import java.net.URI

/**
 * @Author CHH2000day
 * @Date 2022/7/9 14:51
 **/

fun RepositoryHandler.mavenNanon(): MavenArtifactRepository {
	return maven {
		url = URI.create("https://maven.nanon.net/mirai")
		credentials {
			username = "mirai_user"
			password = "BF+dgVtbE0uik+2tUfwrUWk2kfClObmdCLn1C0NwKjKfYlzZ1ugvyAg3+JBLntaS"
		}
	}
}